package org.example.service;

import org.example.pojo.AddUser;
import org.example.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {


    public  User selectUserByNameAndPwd(User user);

    public List<User> selectUsers();

    public User selectUserByNo(String No);

    public  int updateUserPwd(User user);

    public List<User> selectVariablesByAll(String var);

    public int addRole(AddUser user);

    public int deleteUser(int id);

    User selectUserById(int mId);
}
